* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    /* font: 12px/18px Arial, Tahoma, Verdana, sans-serif; */
    background: #1f1f1f;
    background-image: url(../img/back_1px.jpg);
    width: 100%;
    height: 100%;
    color: #ffffff;
}

a {
    color: #99ffcc;
    outline: none;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

p {
    margin: 0 0 18px
}

img {
    border: none;
}

input {
    vertical-align: middle;
}

#inputTurn {
    vertical-align: middle;
    width: 500pt;
}

#wrapper {
    width: 80%;
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

#menu {
    height: 40px;
    background: #2d2d2d;
}

#error {
    font: bold 12pt;
    color: #cc0000;
}

.button {
    cursor: pointer;
    display: block;
    height: 36px;
    width: 160px;
    line-height: 48px;
    text-align: center;
    background-image: url(../img/but.png);
    background-repeat: repeat-x;
    text-decoration: none;
    color: #fff;
}

.button:hover {
    cursor: pointer;
    display: block;
    height: 36px;
    width: 160px;
    line-height: 48px;
    text-align: center;
    background-image: url(../img/but_h.png);
    background-repeat: repeat-x;
}

#button_c {
    border: 1px #000000 solid;
    cursor: pointer;
    display: block;
    height: 40px;
    /*width: 200px;*/
    line-height: 40px;
    text-align: center;
    background-image: url(../img/button.png);
    background-repeat: repeat-x;
    text-decoration: none;
    color: #fff;
}

#button_c:hover {
    border: 1px #105500 solid;
    cursor: pointer;
    display: block;
    height: 40px;
    /*width: 200px;*/
    line-height: 40px;
    text-align: center;
    background-image: url(../img/button_h.png);
    background-repeat: repeat-x;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
    height: 100px;
    color: #fff;
    /*background-color: #cccccc;*/
    background: url(../img/header.png);
}

#logo {
    background: url(../img/app_logo.png) no-repeat;
    /*background-color: #999999;*/
    float: left;
    width: 445px;
    height: 100px;
    margin-left: 16px;
}

#login {
    position: relative;
    margin-top: -20px;
    margin-right: 16px;
}

/* Middle
-----------------------------------------------------------------------------*/
#content{
	width: 100%;
    padding: 30px 0px 100px;
    height: 100%;
    margin: 0;
    background-image: url(../img/back.png);
    height:100%;margin:0;
    background-color: #666666;
    color: #ffffff;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
    width: 80%;
    margin: -30px auto 0;
    height: 30px;
    /*background: url(../res/footer.png);*/
    color: #999;
    background-color: #1f1f1f;
    position: relative;
}

#quickSearch {
    float: left;
    padding: 10px 10px 10px;
    margin-left: 10px;
    background-color: #333333;
    border: 1px solid #000;
}

#turnLeftMenu {
    float: left;
    padding: 10px 10px 10px;
    background-color: #333333;
    border: 1px solid #000;
}

.affList {
    width: 60%;
    background-color: #333333;
    border: 1px solid #000;
}

#copyright {
    margin-left: 16px;
}

.mytableTurn {
    border-collapse: collapse; /* Убираем двойные линии между ячейками */
    padding: 3px; /* ���� ������ ����������� ������� */
    border: 1px solid black; /* ��������� ����� */
    border-right-color: white;
    border-left-color: white;
    border-bottom-color: white;
    border-top-color: white;
}